package com.base.po.voip;

import java.util.Date;

/**
 * 新闻
 * 
 * @author Administrator
 *
 */
public class News {
	private String id;// id
	
	private String pk;// 新闻的唯一标示

	private Date createtime; // 创建时间
	
	private Date date; // 获取新闻日期
	
	private Integer category;//分类  1社会 2国内 3国际 4娱乐 5体育 6军事 7科技 8财经 9时尚 10游戏 11汽车 12笑话 13健康
	
	private String title;// 新闻标题

	private String pic;// 图片1
	
	private String picsecond;// 图片2
	
	private String picthird;// 图片3

	private Integer picwidth;// 图片宽
	
	private Integer picheight;// 图片高

	private String url;// 跳转地址

	private String from;// 来源  (json  author_name字段)
	
	private Byte datastatus;
	
	private String type;//中文 分类
	
	private String datetime; // 获取新闻日期

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk == null ? null : pk.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from == null ? null : from.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getPicsecond() {
        return picsecond;
    }

    public void setPicsecond(String picsecond) {
        this.picsecond = picsecond == null ? null : picsecond.trim();
    }

    public String getPicthird() {
        return picthird;
    }

    public void setPicthird(String picthird) {
        this.picthird = picthird == null ? null : picthird.trim();
    }

    public Integer getPicwidth() {
        return picwidth;
    }

    public void setPicwidth(Integer picwidth) {
        this.picwidth = picwidth;
    }

    public Integer getPicheight() {
        return picheight;
    }

    public void setPicheight(Integer picheight) {
        this.picheight = picheight;
    }
    
    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	
	public News() {
		super();
	}

	public News(String title, String pic, String url, String from) {
		super();
		this.title = title;
		this.pic = pic;
		this.url = url;
		this.from = from;
	}

	public News(Date createtime, String title, String pic, String url, String from) {
		super();
		this.createtime = createtime;
		this.title = title;
		this.pic = pic;
		this.url = url;
		this.from = from;
	}
}